package com.txc.cloud.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.txc.common.global.model.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 部门实体
 *
 * @ClassName: DeptEntity
 * @Author: TXC
 * @Date: 2022-08-12 17:22
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_dept")
public class DeptEntity extends BaseEntity<DeptEntity> {
    /**
     * 部门名称
     */
    private String name;
    /**
     * 父级部门ID
     */
    private Long parentId;
}
